package com.example.kaogong.sys.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * @description: 课程标签传输对象
 * @author: 徐文升
 * @create: 2022-03-27 22:56
 **/

@Data
@EqualsAndHashCode
@ApiModel(value = "TagDto对象", description = "课程标签传输对象")
public class TagDto {
    @NotBlank(message = "课程标签名不能为空")
    @ApiModelProperty(value = "标签名", required = true)
    private String tagName;

    @ApiModelProperty(value = "备注")
    private String tagMark;
}
